//
//  DetailTableViewSectionController.m
//  X-Touch2
//
//  Created by shengchao yang on 12-4-18.
//  Copyright (c) 2012年 foxhis. All rights reserved.
//

#import "DetailTableViewSectionController.h"

@interface DetailTableViewSectionController ()

@end

@implementation DetailTableViewSectionController
@synthesize lblSectionName;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}
-(void) setData:(NSString *)data{
    lblSectionName.text = data;
}
- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [self setLblSectionName:nil];
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
	return YES;
}

- (void)dealloc {
    [lblSectionName release];
    [super dealloc];
}
@end
